package com.ruoyi.ybUpload.domain.tableCode;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 追溯基本信息对象 trace_base_info
 *
 * @author ruoyi
 * @date 2024-08-21
 */
public class TraceBaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 物品类型 */
    @Excel(name = "物品类型")
    private Long goods_type;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String goods_name;

    /** 物品编码 */
    @Excel(name = "物品编码")
    private String goods_code;

    /** 医疗目录编码 */
    @Excel(name = "医疗目录编码")
    private String med_list_codg;

    /** 机构目录编码 */
    @Excel(name = "机构目录编码")
    private String fixmedins_hilist_id;

    /** 机构目录名称 */
    @Excel(name = "机构目录名称")
    private String fixmedins_hilist_name;

    /** 处方药标志 */
    @Excel(name = "处方药标志")
    private Long rx_flag;

    /** 盘存日期 */
    @Excel(name = "盘存日期")
    private String invdate;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long inv_cnt;

    /** 库存变更时间;yyyy-MM-dd HH:mm:ss */
    @Excel(name = "库存变更时间;yyyy-MM-dd HH:mm:ss")
    private String inv_chg_time;

    /** 生产批号 */
    @Excel(name = "生产批号")
    private String manu_lotnum;

    /** 批次流水号 */
    @Excel(name = "批次流水号")
    private String fixmedins_bchno;

    /** 生产日期 */
    @Excel(name = "生产日期")
    private String manu_date;

    /** 有效期止 */
    @Excel(name = "有效期止")
    private String expy_end;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal pric;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String spler_name;

    /** 生产厂家名称 */
    @Excel(name = "生产厂家名称")
    private String prodentp_name;

    /** 批准文号 */
    @Excel(name = "批准文号")
    private String aprvno;

    /** 采购发票号 */
    @Excel(name = "采购发票号")
    private String purc_invo_no;

    /** 采购/退货经办人姓名 */
    @Excel(name = "采购/退货经办人姓名")
    private String purc_retn_opter_name;

    /** 上传类型 */
    @Excel(name = "上传类型")
    private String upload_type;

    /** 上传标志 */
    @Excel(name = "上传标志")
    private Long upload_flag;

    /** 删除标志 */
    private Long del_flag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String CREATE_BY;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date CREATE_TIME;

    /** 更新人 */
    @Excel(name = "更新人")
    private String UPDATE_BY;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date UPDATE_TIME;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGoods_type(Long goods_type)
    {
        this.goods_type = goods_type;
    }

    public Long getGoods_type()
    {
        return goods_type;
    }
    public void setGoods_name(String goods_name)
    {
        this.goods_name = goods_name;
    }

    public String getGoods_name()
    {
        return goods_name;
    }
    public void setGoods_code(String goods_code)
    {
        this.goods_code = goods_code;
    }

    public String getGoods_code()
    {
        return goods_code;
    }
    public void setMed_list_codg(String med_list_codg)
    {
        this.med_list_codg = med_list_codg;
    }

    public String getMed_list_codg()
    {
        return med_list_codg;
    }
    public void setFixmedins_hilist_id(String fixmedins_hilist_id)
    {
        this.fixmedins_hilist_id = fixmedins_hilist_id;
    }

    public String getFixmedins_hilist_id()
    {
        return fixmedins_hilist_id;
    }
    public void setFixmedins_hilist_name(String fixmedins_hilist_name)
    {
        this.fixmedins_hilist_name = fixmedins_hilist_name;
    }

    public String getFixmedins_hilist_name()
    {
        return fixmedins_hilist_name;
    }
    public void setRx_flag(Long rx_flag)
    {
        this.rx_flag = rx_flag;
    }

    public Long getRx_flag()
    {
        return rx_flag;
    }
    public void setInvdate(String invdate)
    {
        this.invdate = invdate;
    }

    public String getInvdate()
    {
        return invdate;
    }
    public void setInv_cnt(Long inv_cnt)
    {
        this.inv_cnt = inv_cnt;
    }

    public Long getInv_cnt()
    {
        return inv_cnt;
    }
    public void setInv_chg_time(String inv_chg_time)
    {
        this.inv_chg_time = inv_chg_time;
    }

    public String getInv_chg_time()
    {
        return inv_chg_time;
    }
    public void setManu_lotnum(String manu_lotnum)
    {
        this.manu_lotnum = manu_lotnum;
    }

    public String getManu_lotnum()
    {
        return manu_lotnum;
    }
    public void setFixmedins_bchno(String fixmedins_bchno)
    {
        this.fixmedins_bchno = fixmedins_bchno;
    }

    public String getFixmedins_bchno()
    {
        return fixmedins_bchno;
    }
    public void setManu_date(String manu_date)
    {
        this.manu_date = manu_date;
    }

    public String getManu_date()
    {
        return manu_date;
    }
    public void setExpy_end(String expy_end)
    {
        this.expy_end = expy_end;
    }

    public String getExpy_end()
    {
        return expy_end;
    }
    public void setPric(BigDecimal pric)
    {
        this.pric = pric;
    }

    public BigDecimal getPric()
    {
        return pric;
    }
    public void setMemo(String memo)
    {
        this.memo = memo;
    }

    public String getMemo()
    {
        return memo;
    }
    public void setSpler_name(String spler_name)
    {
        this.spler_name = spler_name;
    }

    public String getSpler_name()
    {
        return spler_name;
    }
    public void setProdentp_name(String prodentp_name)
    {
        this.prodentp_name = prodentp_name;
    }

    public String getProdentp_name()
    {
        return prodentp_name;
    }
    public void setAprvno(String aprvno)
    {
        this.aprvno = aprvno;
    }

    public String getAprvno()
    {
        return aprvno;
    }
    public void setPurc_invo_no(String purc_invo_no)
    {
        this.purc_invo_no = purc_invo_no;
    }

    public String getPurc_invo_no()
    {
        return purc_invo_no;
    }
    public void setPurc_retn_opter_name(String purc_retn_opter_name)
    {
        this.purc_retn_opter_name = purc_retn_opter_name;
    }

    public String getPurc_retn_opter_name()
    {
        return purc_retn_opter_name;
    }
    public void setUpload_type(String upload_type)
    {
        this.upload_type = upload_type;
    }

    public String getUpload_type()
    {
        return upload_type;
    }
    public void setUpload_flag(Long upload_flag)
    {
        this.upload_flag = upload_flag;
    }

    public Long getUpload_flag()
    {
        return upload_flag;
    }
    public void setDel_flag(Long del_flag)
    {
        this.del_flag = del_flag;
    }

    public Long getDel_flag()
    {
        return del_flag;
    }
    public void setCREATE_BY(String CREATE_BY)
    {
        this.CREATE_BY = CREATE_BY;
    }

    public String getCREATE_BY()
    {
        return CREATE_BY;
    }
    public void setCREATE_TIME(Date CREATE_TIME)
    {
        this.CREATE_TIME = CREATE_TIME;
    }

    public Date getCREATE_TIME()
    {
        return CREATE_TIME;
    }
    public void setUPDATE_BY(String UPDATE_BY)
    {
        this.UPDATE_BY = UPDATE_BY;
    }

    public String getUPDATE_BY()
    {
        return UPDATE_BY;
    }
    public void setUPDATE_TIME(Date UPDATE_TIME)
    {
        this.UPDATE_TIME = UPDATE_TIME;
    }

    public Date getUPDATE_TIME()
    {
        return UPDATE_TIME;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("goods_type", getGoods_type())
                .append("goods_name", getGoods_name())
                .append("goods_code", getGoods_code())
                .append("med_list_codg", getMed_list_codg())
                .append("fixmedins_hilist_id", getFixmedins_hilist_id())
                .append("fixmedins_hilist_name", getFixmedins_hilist_name())
                .append("rx_flag", getRx_flag())
                .append("invdate", getInvdate())
                .append("inv_cnt", getInv_cnt())
                .append("inv_chg_time", getInv_chg_time())
                .append("manu_lotnum", getManu_lotnum())
                .append("fixmedins_bchno", getFixmedins_bchno())
                .append("manu_date", getManu_date())
                .append("expy_end", getExpy_end())
                .append("pric", getPric())
                .append("memo", getMemo())
                .append("spler_name", getSpler_name())
                .append("prodentp_name", getProdentp_name())
                .append("aprvno", getAprvno())
                .append("purc_invo_no", getPurc_invo_no())
                .append("purc_retn_opter_name", getPurc_retn_opter_name())
                .append("upload_type", getUpload_type())
                .append("upload_flag", getUpload_flag())
                .append("del_flag", getDel_flag())
                .append("remark", getRemark())
                .append("CREATE_BY", getCREATE_BY())
                .append("CREATE_TIME", getCREATE_TIME())
                .append("UPDATE_BY", getUPDATE_BY())
                .append("UPDATE_TIME", getUPDATE_TIME())
                .toString();
    }
}